package com.dongzili.common.disruptor.entity;

import com.dongzili.common.disruptor.enums.MessageType;
import lombok.Data;
import lombok.experimental.Accessors;

/** 消息体 */
@Data
@Accessors(chain = true)
public class MessageEvent<T> {

    private String id;
    private Long sequence;
    private String value;
    private MessageType type;
    private T data;
}
